package com.zysc.processflow.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zysc.processflow.common.base.BaseEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.util.List;

/**
 * <p>
 * 处置流程记录详情表
 * </p>
 *
 * @author 正元智慧城市_
 * @since 2022-11-18
 */
@Data
@ToString(callSuper = true)
public class Handlerecorddetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 处置流程实例ID
     */
    private String recordid;

    /**
     * 处置流程节点ID
     */
    private String nodeid;

    /**
     * 处置人id
     */
    private String disposerid;

    /**
     * 处置人姓名
     */
    private String disposername;

    /**
     * 处置时间
     */
    private Long handletime;

    /**
     * 处置结果
     */
    private String result;

    /**
     * 处置意见
     */
    private String suggestion;

    /**
     * 处置意见
     */
    private String alarmreason;
    /**
     * 类型
     */
    private String type;

    /**
     * 预计恢复时间
     */
    private Long plannedrecoverytime;//毫秒时间戳

    /**
     * 是否已维修完成
     */
    private String hasrepaired;//是否已维修完成

    /**
     * 附件
     */
    @TableField(exist = false)
    @ApiModelProperty(value = "attachments", required = false,hidden=true)
    private List<Attachment> attachments; // 关联附件
}
